package com.alibaba.citrus.cr.sales.plan.api.setting;

import com.alibaba.citrus.cr.sales.plan.sdo.StrategyFactorSDO;
import com.alibaba.lattice2.epoch.sdk.model.Result;
import com.alibaba.lattice2.epoch.meshflow.model.annotation.MeshFlowService;

@MeshFlowService(apps = {"bc_order"}, name = "StrategyFactorWriteService")
public interface StrategyFactorWriteService {

    /**
     * 新增策略因子
     *
     * @param strategyFactorSDO
     * @return
     */
    Result<String> createStrategyFactor(StrategyFactorSDO strategyFactorSDO);

    /**
     * 修改策略因子状态
     *
     * @param strategyFactorStateRequest
     * @return
     */
    Result<Integer> editStrategyFactorState(StrategyFactorSDO strategyFactorStateRequest);
}
